import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner num = new Scanner(System.in);
        int h = num.nextInt();
        int r = num.nextInt();
        double v = 3.14*h*r*r;
        int cup = (int)(10000/v);
        if(10000%v == 0){
            System.out.println(cup);
        }else{
            cup = cup + 1;
            System.out.println(cup);
        }
    }
}
